home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr22 / gnplt.zip / HIDDEN.DEM < prev    next >
Text File  |  1993-05-11  |  1KB  |  63 lines

  1. #
  2. # $Id: hidden.dem%v 3.38.2.61 1993/01/27 02:35:31 woo Exp woo $
  3. #
  4. #
  5. set samples 20
  6. set isosamples 20
  7. set hidden3d
  8. set title "Hidden line removal of explicit surfaces"
  9.  
  10.  
  11. set xrange [-3:3]
  12. set yrange [-2:2]
  13. splot 1 / (x*x + y*y + 1)
  14. pause -1 "Hit return to continue (1)"
  15.  
  16. set xrange [-1:1]
  17. set yrange [-1:1]
  18. splot x*y / (x**2 + y**2 + 0.1)
  19. pause -1 "Hit return to continue (2)"
  20.  
  21. set view 70,45
  22. set nocontour
  23. set xrange [-3:3]
  24. set yrange [-3:3]
  25. splot sin(x*x + y*y) / (x*x + y*y)
  26. pause -1 "Hit return to continue (3)"
  27.  
  28. set view 60,30
  29. set xrange [-3:3]
  30. set yrange [-3:3]
  31. splot sin(x) * cos(y)
  32. pause -1 "Hit return to continue (4)"
  33.  
  34. set view 75,230
  35. set contour
  36. replot
  37. pause -1 "Hit return to continue (5)"
  38.  
  39. set view 80,30,1,1
  40. set data style lines
  41. set autoscale
  42. splot "glass.dat" using 1
  43. pause -1 "Hit return to continue (6)"
  44.  
  45. set view 50,
  46. set grid
  47. replot
  48. pause -1 "Hit return to continue (7)"
  49.  
  50. set nocontour
  51. set nogrid
  52. set nohidden3d
  53. set samples 100
  54. set isosamples 10
  55. set view 60,30,1,1
  56. set xrange [-10:10]
  57. set yrange [-10:10]
  58. set zrange [-10:10]
  59. set auto
  60. set title "" 0,0
  61.  
  62.  
  63.